package com.test.wog.service;

import com.alibaba.fastjson.JSONObject;
import com.test.wog.dao.RouteDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LX
 * @createDate 2020-01-30
 * @desc
 */
@Service
public class RouteService {
    @Autowired
    RouteDAO routeDAO;
    public String getRouteByLocAndTime(double sLon, double sLat, double eLon, double eLat, String sTime){
        JSONObject jo = routeDAO.getRoadFromAmapByLoc(sLon, sLat, eLon, eLat, sTime);
        return null;
    }
}
